var colorArray = [[255,0,0],[255,125,0],[255,255,0],[255,255,125],[255,255,255],[125,255,125],[0,255,0],[0,255,125],[0,255,255],[255,125,255],[255,0,125]];
var Name = "rampage";
function Rampage(max)
{
this.c2Max = max;
this.colorTrans = new flash.geom.ColorTransform();
_root[_root.char].inv = true;
this.l = this.colorArray.length;
var _loc3_ = 0;
var _loc4_ = _root.randRange(20,30);
while(_loc3_ < _loc4_)
{
_root.fxID = _root.fxID + 1;
_root["rampageTrail" + _root.fxID] = new classes.fx.RampageTrail(_root[_root.char].x + 20,_root[_root.char].y + 20,_root.fxID);